package com.zs.spring;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @Author: zhengshan
 * @CreateTime: 2024-06-17
 * @Description: 测试spring源码
 * @Version 1.0
 */
//生效时间
@Retention(RetentionPolicy.RUNTIME)
//表示只能写在类上面
@Target(ElementType.TYPE)
public @interface Scope {

    String SINGLETON = "singleton";

    String value() default SINGLETON;
}
